﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="InstructorScheduleMainScreen.aspx.cs" Inherits="METU_CMT.InstructorScheduleMainScreen" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Table ID="Table1" runat="server" Width="100%" HorizontalAlign="Center" CssClass="chp-grid">
        <asp:TableRow ID="TableRow1" runat="server" Width="100%" HorizontalAlign="Left">
            <asp:TableCell ID="TableCell1" runat="server">
                <asp:Table ID="Table20" runat="server" Width="100%" HorizontalAlign="Center" CssClass="chp-grid">
                    <asp:TableRow ID="TableRow20" runat="server">
                        <asp:TableCell ID="TableCell21" runat="server" HorizontalAlign="Left">
                            <asp:LinkButton runat="server" ID="lnkBtnExportToGoogleCalender" OnClick="OnLnkBtnExportToGoogleCalenderClicked"
                                Text="Export To Google Calendar"></asp:LinkButton>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow ID="TableRow3" runat="server">
                        <asp:TableCell ID="TableCell5" runat="server" HorizontalAlign="Left">
                            <asp:LinkButton runat="server" ID="lnkBtnEditSchedule" OnClick="OnLnkBtnEditScheduleClicked"
                                Text="Edit Schedule"></asp:LinkButton>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow ID="TableRow4" runat="server">
                        <asp:TableCell ID="TableCell6" runat="server" HorizontalAlign="Left">
                            <asp:LinkButton runat="server" ID="lnkBtnDownloadAllDocuments" OnClick="OnLnkBtnDownloadAllDocumentsClicked"
                                Text="Download All Documents"></asp:LinkButton>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow ID="TableRow5" runat="server">
                        <asp:TableCell ID="TableCell7" runat="server" HorizontalAlign="Left">
                            <asp:LinkButton runat="server" ID="lnkBtnDownloadSubmissionReport" OnClick="OnLnkBtnDownloadSubmissionReportClicked"
                                Text="Download Submission Report"></asp:LinkButton>
                        </asp:TableCell>
                    </asp:TableRow>
                </asp:Table>
            </asp:TableCell>
            <asp:TableCell ID="TableCell2" runat="server">
                <asp:GridView runat="server" Width="100%" ID="dtgSchedule" AutoGenerateColumns="false"
                    ShowHeaderWhenEmpty="true" CssClass="chp-grid" OnPreRender="OnDtgSchedulePreRender">
                    <Columns>
                        <asp:BoundField DataField="DueDateDayFormat" HeaderText="Due Date" />
                        <asp:BoundField DataField="DueDateTimeFormat" HeaderText="Time" />
                        <asp:BoundField DataField="Description" HeaderText="Description" />
                        <asp:TemplateField HeaderText="Action">
                            <ItemTemplate>
                                <asp:LinkButton runat="server" ID="lnkBtnSeeTeamsWork" OnClick="OnLnkBtnSeeTeamsWorkClicked"
                                    Text="See Work Of Teams"></asp:LinkButton>
                                <asp:HiddenField runat="server" ID="hfId" Value='<%# Bind("EventId") %>' />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
</asp:Content>
